package com.ruoyi.teamCustomer.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;

import java.util.Date;


/**
 * 客户信息视图对象 t_customer
 *
 * @author lxm
 * @date 2023-08-07
 */
@Data
@ExcelIgnoreUnannotated
public class TeamCustomerVo {

    private static final long serialVersionUID = 1L;

    private Long id;
    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    private String name;

    /**
     * 客户电话
     */
    @ExcelProperty(value = "客户电话")
    private String tel;

    /**
     * 星级 字典 level.type
     */
    @ExcelProperty(value = "星级", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "level_type")
    private String level;

    /**
     * 贷款类型 loan.type
     */
    @ExcelProperty(value = "贷款类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "loan_type")
    private String loanType;

    /**
     * 年龄
     */
    @ExcelProperty(value = "年龄")
    private String age;

    /**
     * 性别 sex.type
     */
    @ExcelProperty(value = "性别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sex.type")
    private String sex;

    /**
     * 标签
     */
    @ExcelProperty(value = "标签")
    private String label;

    /**
     * 学历
     */
    @ExcelProperty(value = "学历")
    private String education;

    /**
     * 是否有房 house.type
     */
    @ExcelProperty(value = "是否有房", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "house_type")
    private String house;

    /**
     * 是否有车 car.type
     */
    @ExcelProperty(value = "是否有车", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "car_type")
    private String car;

    /**
     * 保单 warranty.type
     */
    @ExcelProperty(value = "保单", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "warranty_type")
    private String warranty;

    /**
     * 社保 insurance.type
     */
    @ExcelProperty(value = "社保", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "insurance_type")
    private String insurance;

    /**
     * 公积金 fund.type
     */
    @ExcelProperty(value = "公积金", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "fund_type")
    private String fund;

    /**
     * 工资
     */
    @ExcelProperty(value = "工资")
    private String salary;

    /**
     * 申请额度
     */
    @ExcelProperty(value = "申请额度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "quota.type")
    private String applyMoney;

    /**
     * 省份
     */
    @ExcelProperty(value = "省份")
    private String province;

    /**
     * 城市
     */
    @ExcelProperty(value = "城市")
    private String city;

    /**
     * 区县
     */
    @ExcelProperty(value = "区县")
    private String county;


    /**
     * 客户经理
     */
    @ExcelProperty(value = "客户经理")
    private String manager;

    /**
     * 客户的状态，对于客户经理的来说 customer.status
     */
    @ExcelProperty(value = "客户状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "customer_status")
    private String customerStatus;

    /**
     * 公司内部状态
     */
    @ExcelProperty(value = "公司内部状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "company_status")
    private String companyStatus;


    /**
     * 组织，根据导入人组织，每次分配都变化
     */
    @ExcelProperty(value = "组织，根据导入人组织，每次分配都变化")
    private Long distributeDeptId;


    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String bz;

    @ExcelProperty(value = "退回原因")
    private String backReason;

    /**
     * 录入时间
     */
    @ExcelProperty(value = "录入时间")
    private Date createTime;

    @ExcelProperty(value = "部门名称")
    private String deptName;


    @ExcelProperty(value = "上级部门名称")
    private String parentDeptName;

    @ExcelProperty(value = "业务人员")
    private String busName;

    private String vip;

    private Long userId;

    private Long parentDeptId;

    private Long taskId;

    private Long isReviewe;

    private String remark;

    private Date lastRemarkTime;

    /**
     * 实际申请时间
     */
    private Date realityApplyTime;

    /**
     * 客户来源
     */
    private String source;

    /**
     * 城市
     */
    private String regionName;

    private String deleted;

    private String batchLogo;

}
